[Ivy]
[>Created: Mon Jan 28 18:24:41 ICT 2013]
13C61DD2ED6B1C88 3.17 #module
>Proto >Proto Collection #zClass
fs0 frmInfoProcess Big #zClass
fs0 RD #cInfo
fs0 #process
fs0 @TextInP .ui2RdDataAction .ui2RdDataAction #zField
fs0 @TextInP .rdData2UIAction .rdData2UIAction #zField
fs0 @TextInP .resExport .resExport #zField
fs0 @TextInP .type .type #zField
fs0 @TextInP .processKind .processKind #zField
fs0 @AnnotationInP-0n ai ai #zField
fs0 @TextInP .xml .xml #zField
fs0 @TextInP .responsibility .responsibility #zField
fs0 @RichDialogInitStart f0 '' #zField
fs0 @RichDialogProcessEnd f1 '' #zField
fs0 @RichDialogProcessStart f3 '' #zField
fs0 @RichDialogProcessEnd f4 '' #zField
fs0 @RichDialogProcessStep f6 '' #zField
fs0 @PushWFArc f7 '' #zField
fs0 @CallSub f8 '' #zField
fs0 @PushWFArc f9 '' #zField
fs0 @PushWFArc f2 '' #zField
fs0 @RichDialog f10 '' #zField
fs0 @PushWFArc f11 '' #zField
fs0 @PushWFArc f5 '' #zField
fs0 @RichDialogProcessStart f12 '' #zField
fs0 @RichDialogProcessStep f15 '' #zField
fs0 @PushWFArc f16 '' #zField
fs0 @RichDialogEnd f13 '' #zField
fs0 @RichDialogUiSync f14 '' #zField
fs0 @PushWFArc f17 '' #zField
fs0 @PushWFArc f18 '' #zField
>Proto fs0 fs0 frmInfoProcess #zField
fs0 f0 guid 13C61DD2EE9DB0E5 #txt
fs0 f0 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f0 method start() #txt
fs0 f0 disableUIEvents true #txt
fs0 f0 inParameterDecl 'ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent methodEvent = event as ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent;
<> param = methodEvent.getInputArguments();
' #txt
fs0 f0 outParameterDecl '<> result;
' #txt
fs0 f0 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>start()</name>
    </language>
</elementInfo>
' #txt
fs0 f0 86 54 20 20 13 0 #rect
fs0 f0 @|RichDialogInitStartIcon #fIcon
fs0 f1 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f1 86 254 20 20 13 0 #rect
fs0 f1 @|RichDialogProcessEndIcon #fIcon
fs0 f3 guid 13C66CE11C266A07 #txt
fs0 f3 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f3 actionDecl 'ch.ivy.demo.frmInfo.frmInfoData out;
' #txt
fs0 f3 actionTable 'out=in;
' #txt
fs0 f3 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>cancel</name>
        <nameStyle>6,5,7
</nameStyle>
    </language>
</elementInfo>
' #txt
fs0 f3 350 54 20 20 13 0 #rect
fs0 f3 @|RichDialogProcessStartIcon #fIcon
fs0 f4 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f4 350 166 20 20 13 0 #rect
fs0 f4 @|RichDialogProcessEndIcon #fIcon
fs0 f6 actionDecl 'ch.ivy.demo.frmInfo.frmInfoData out;
' #txt
fs0 f6 actionTable 'out=in;
' #txt
fs0 f6 actionCode 'import ch.ivy.demo.UserInfo;

in.currentUser = ivy.session.getAttribute("user") as UserInfo;

in.filerName.add("Additional Job");
in.filerName.add("Unpaid Leave");
in.filerName.add("Contract Modification");
in.filerName.add("Employment");' #txt
fs0 f6 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f6 78 92 36 24 20 -2 #rect
fs0 f6 @|RichDialogProcessStepIcon #fIcon
fs0 f7 expr out #txt
fs0 f7 96 74 96 92 #arcP
fs0 f8 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f8 processCall 'Functional Processes/SubProcess/getTaskList:getTaskList()' #txt
fs0 f8 doCall true #txt
fs0 f8 requestActionDecl '<> param;
' #txt
fs0 f8 responseActionDecl 'ch.ivy.demo.frmInfo.frmInfoData out;
' #txt
fs0 f8 responseMappingAction 'out=in;
out.originalUserTask=result.taskList;
out.userTasks=result.taskList;
' #txt
fs0 f8 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>getTaskList()</name>
        <nameStyle>13,5,7
</nameStyle>
    </language>
</elementInfo>
' #txt
fs0 f8 78 172 36 24 20 -2 #rect
fs0 f8 @|CallSubIcon #fIcon
fs0 f9 expr out #txt
fs0 f9 96 116 96 172 #arcP
fs0 f2 expr out #txt
fs0 f2 96 196 96 254 #arcP
fs0 f10 targetWindow NEW:card: #txt
fs0 f10 targetDisplay TOP #txt
fs0 f10 richDialogId ch.ivy.demo.frmLogin #txt
fs0 f10 startMethod start() #txt
fs0 f10 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f10 requestActionDecl '<> param;' #txt
fs0 f10 responseActionDecl 'ch.ivy.demo.frmInfo.frmInfoData out;
' #txt
fs0 f10 responseMappingAction 'out=in;
' #txt
fs0 f10 windowConfiguration '* ' #txt
fs0 f10 isAsynch false #txt
fs0 f10 isInnerRd true #txt
fs0 f10 userContext '* ' #txt
fs0 f10 342 100 36 24 20 -2 #rect
fs0 f10 @|RichDialogIcon #fIcon
fs0 f11 expr out #txt
fs0 f11 360 74 360 100 #arcP
fs0 f5 expr out #txt
fs0 f5 360 124 360 166 #arcP
fs0 f12 guid 13C807BD7B57F39F #txt
fs0 f12 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f12 actionDecl 'ch.ivy.demo.frmInfo.frmInfoData out;
' #txt
fs0 f12 actionTable 'out=in;
' #txt
fs0 f12 actionCode 'ivy.log.info("filter: " + in.selectedFilter);' #txt
fs0 f12 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>changeList</name>
        <nameStyle>10,5,7
</nameStyle>
    </language>
</elementInfo>
' #txt
fs0 f12 462 54 20 20 13 0 #rect
fs0 f12 @|RichDialogProcessStartIcon #fIcon
fs0 f15 actionDecl 'ch.ivy.demo.frmInfo.frmInfoData out;
' #txt
fs0 f15 actionTable 'out=in;
' #txt
fs0 f15 actionCode 'import ch.ivy.demo.UserTask;

if(in.selectedFilter == "0") {
 in.userTasks 	= in.originalUserTask;
} else {
in.userTasks = new List<UserTask>();
	for(int i = 0; i < in.originalUserTask.size();i++) {
		if(in.originalUserTask.get(i).type.equalsIgnoreCase(in.selectedFilter)) {
				in.userTasks.add(in.originalUserTask.get(i).clone());
				ivy.log.info("found:" + in.originalUserTask.get(i).type);
			}
	}
}' #txt
fs0 f15 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f15 454 108 36 24 20 -2 #rect
fs0 f15 @|RichDialogProcessStepIcon #fIcon
fs0 f16 expr out #txt
fs0 f16 472 74 472 108 #arcP
fs0 f16 0 0.508054179281175 0 0 #arcLabel
fs0 f13 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f13 guid 13C80E6D3FF640D5 #txt
fs0 f13 470 230 20 20 13 0 #rect
fs0 f13 @|RichDialogEndIcon #fIcon
fs0 f14 type ch.ivy.demo.frmInfo.frmInfoData #txt
fs0 f14 guid 13C80E6D9E52855E #txt
fs0 f14 451 171 26 26 13 0 #rect
fs0 f14 @|RichDialogUiSyncIcon #fIcon
fs0 f17 expr out #txt
fs0 f17 471 132 465 171 #arcP
fs0 f18 expr out #txt
fs0 f18 467 196 477 230 #arcP
>Proto fs0 .type ch.ivy.demo.frmInfo.frmInfoData #txt
>Proto fs0 .processKind RICH_DIALOG #txt
>Proto fs0 .xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <swimlaneLabel>Start</swimlaneLabel>
        <swimlaneLabel>Events</swimlaneLabel>
        <swimlaneLabel></swimlaneLabel>
    </language>
    <swimlaneSize>208</swimlaneSize>
    <swimlaneSize>352</swimlaneSize>
    <swimlaneColor>-16711936</swimlaneColor>
    <swimlaneColor>-16711681</swimlaneColor>
</elementInfo>
' #txt
>Proto fs0 -8 -8 16 16 16 26 #rect
>Proto fs0 '' #fIcon
fs0 f0 mainOut f7 tail #connect
fs0 f7 head f6 mainIn #connect
fs0 f6 mainOut f9 tail #connect
fs0 f9 head f8 mainIn #connect
fs0 f8 mainOut f2 tail #connect
fs0 f2 head f1 mainIn #connect
fs0 f3 mainOut f11 tail #connect
fs0 f11 head f10 mainIn #connect
fs0 f10 mainOut f5 tail #connect
fs0 f5 head f4 mainIn #connect
fs0 f12 mainOut f16 tail #connect
fs0 f16 head f15 mainIn #connect
fs0 f15 mainOut f17 tail #connect
fs0 f17 head f14 mainIn #connect
fs0 f14 mainOut f18 tail #connect
fs0 f18 head f13 mainIn #connect
